package com.ds.infrastructure.hyperspace.console.dao.mapper;

import com.ds.infrastructure.hyperspace.console.entity.page.TbPageWhere;
import com.ds.infrastructure.hyperspace.console.entity.table.TbStage;
import com.ds.infrastructure.hyperspace.console.entity.where.TbCustomWhere;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: yaozhendong
 * @create: 2019-09-20 09:18
 **/

public interface TbStageMapper {
    int insertSelective(TbStage record);

    TbStage selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbStage record);

    //自定义接口===========================================
    List<TbStage> selectListForPage(@Param("pojo") TbStage where, @Param("mapWhere") TbCustomWhere mapWhere, @Param("pageWhere") TbPageWhere pageWhere);

    int selectListForPageCount(@Param("pojo") TbStage where, @Param("mapWhere") TbCustomWhere mapWhere);
}
